package com.fowo.api.model.inventory.details;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import com.fowo.api.common.mybatis.handlers.SysFileListTypeHandler;
import com.fowo.api.sys.entity.SysFile;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import java.util.List;
import lombok.Getter;
import lombok.Setter;

/**
 * 库存明细仓位库存视图结果
 */
@Getter
@Setter
public class InventoryDetailsWarehouseInventoryResult implements Serializable {

  @Schema(title = "仓位")
  private String storage_bin;

  @Schema(title = "仓位类型")
  private String type_name;

  @Schema(title = "仓位类型")
  private String type;

  @Schema(title = "仓库")
  private String warehouse_id;

  @Schema(title = "仓库")
  private String warehouse_name;

  @TableField(value = "`pic_url`", typeHandler = JacksonTypeHandler.class)
  @Schema(title = "图片")
  private List<SysFile> pic_url;

  @Schema(title = "品名")
  private String product_name;

  @Schema(title = "sku")
  private String sku;

  @Schema(title = "MSKU")
  private String msku;

  @Schema(title = "FNSKU")
  private String fnsku_name;

  @Schema(title = "店铺")
  private String shop_name;

  @Schema(title = "店铺")
  private String shop_id;

  @Schema(title = "未锁定")
  private String stock_qty;

  @Schema(title = "锁定量")
  private String lock_qty;

  @Schema(title = "总量")
  private String total;

  @Schema(title = "仓位的id")
  private String storage_id;

  @Schema(title = "id")
  private String id;

  @Schema(title = "product_id")
  private String product_id;
}
